<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Theme/index')}">{:lang('ADMIN_THEME_INDEX')}</a></li>
        <li class="active"><a href="{:url('Theme/install')}">{:lang('ADMIN_THEME_INSTALL')}</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20">
        <php> $status=array("1"=>lang('DISPLAY'),"0"=>lang('HIDDEN'));</php>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th>{:lang('Key')}</th>
                <th>{:lang('Name')}</th>
                <th>{:lang('Version')}</th>
                <th>{:lang('Author')}</th>
                <th>{:lang('Description')}</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="themes" item="vo">
                <tr>
                    <td>{$vo.theme}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.version}</td>
                    <td>{$vo.author}</td>
                    <td>{$vo.description}</td>
                    <td>
                        <a href="{:url('Theme/installTheme',array('theme'=>$vo['theme']))}"
                           class="btn btn-xs btn-primary js-ajax-dialog-btn js-ajax-dialog-btn">{:lang('Install')}</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
            <tfoot>
            <tr>
                <th>{:lang('Key')}</th>
                <th>{:lang('Name')}</th>
                <th>{:lang('Version')}</th>
                <th>{:lang('Author')}</th>
                <th>{:lang('Description')}</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </tfoot>
        </table>
    </form>
</div>
<script src="__STATIC__/js/admin.js?v={$_static_version}"></script>
</body>
</html>
